package com.zry.simpleBlog.dto;

import com.zry.simpleBlog.comment.aop.annotations.IdempotentField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 暂时不需要
 */

@Data
@Schema(name = "BaseIdempotentDto对象", description = "需要使用messageId实现幂等的dto对象基类")
public class BaseIdempotentDTO {

    @IdempotentField
    @Schema(description = "消息ID,用于实现幂等操作", name = "messageId", type = "String")
    protected String messageId;
}
